package jumpingnotes.dao;

import java.util.List;

import jumpingnotes.model.entity.Book;

public interface BookDao extends GenericDao<Book>
{
	List<Book> findBookByBookTag(String bookTag, int firstResult, int maxResults);

	List<Book> findFavoriteBookByMemberId(int memberId);

	List<Book> findBookLatest(int firstResult, int maxResults);

	List<Book> findBookPlayTop(int firstResult, int maxResults);

	List<Book> findBookRateTop(int firstResult, int maxResults);

	List<Book> findBookRecommend(int firstResult, int maxResults);

	void indexBook();

	List<Book> searchBook(String keyword, int firstResult, int maxResults);

	List<Book> searchBookByName(String keyword, int firstResult, int maxResults);

	List<Book> searchBookByAuthor(String keyword, int firstResult, int maxResults);
}
